/**
 * Created by flove on 2017/5/4.
 */
$(function () {
    function ModifyPasswordAjax() {
        $(".btn-forget-password").click(function () {
            var username=$("#email").val();
            var password=$("#password").val();
            var confirm_password=$("#confirm_password").val();
            console.log(username);
            console.log(password);
            console.log(confirm_password);
            $.ajax({
                type:"post",
                url:"",
                data:{
                    username:username,
                    password:password,
                    confirm_password:confirm_password
                },
                dataType:"json",
                success:function (data) {
                    console.log(data);
                }
            })
        })
    }
    ModifyPasswordAjax();

});
